/*
 * Protein.cpp
 *
 *  Created on: Feb 28, 2011
 *      Author: wjfortin
 */

#include "Protein.h"
#include "../Trace.h"

/**
 * Fill in
 */
Protein::Protein() {

	TRACE(2,"Molecule " << moleculeID << " created (protein)")
	concentration = new Concentration();
	concentration->value = 0;
	concentration->rkValues[0] = 0;
	concentration->rkValues[1] = 0;
	concentration->rkValues[2] = 0;
	concentration->rkValues[3] = 0;

	initialConcentration = new Quantity();
	initialConcentration->value = 0;

	name = "P";
}

/**
 * Fill in
 */
Protein::~Protein() {
	// TODO Auto-generated destructor stub
}

/**
 * Fill in
 */
int Protein::getPostTransModCount() {
	int len = 0;
	for (int i = 0; i < sizeof(postTransMods)/sizeof(*postTransMods); i++)
		len += postTransMods[i];
	return len;
}

